home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / autoit / autoit-v3.2.0.1-setup.exe / Examples / Helpfile / GUICtrlSetStyle.au3 < prev    next >
Text File  |  2006-06-17  |  392b  |  18 lines

  1. #include <GUIConstants.au3>
  2.  
  3. GUICreate("My GUI style")  ; will create a dialog box that when displayed is centered
  4.  
  5. GUICtrlCreateLabel ( "my label which will split on several lines", 10,20, 100, 100)
  6. ;GUICtrlSetStyle (-1, $SS_RIGHT )
  7.                 
  8. GUISetState ()
  9.  
  10. ; Run the GUI until the dialog is closed
  11. While 1
  12.     $msg = GUIGetMsg()
  13.     
  14.     If $msg = $GUI_EVENT_CLOSE Then ExitLoop
  15. Wend
  16.  
  17.  
  18.